<template>
  <div>
    <Bluetable :t-head="tHead" :t-data="tableData" />
    <pagination :total="query.total" :page.sync="query.page" :limit.sync="query.limit" @pagination="getList" />
  </div>
</template>

<script>
export default {
  name: 'Emtable',
  data() {
    return {
      query: {
        total: 100,
        page: 1,
        limit: 10
      },
      tHead: [
        {
          prop: 'date',
          label: '状态'
        },
        {
          prop: 'date',
          label: '门诊号'
        },
        {
          prop: 'date',
          label: '病人姓名'
        },
        {
          prop: 'date',
          label: '当前科室'
        },
        {
          prop: 'date',
          label: '主管医生'
        },
        {
          prop: 'date',
          label: '入院日期'
        },
        {
          prop: 'date',
          label: '出院日期'
        },
        {
          prop: 'date',
          label: '入院诊断'
        },
        {
          prop: 'date',
          label: '药品（种）'
        },
        {
          prop: 'date',
          label: '抗菌药'
        },
        {
          prop: 'date',
          label: '特殊抗菌药(0/1)'
        },
        {
          prop: 'date',
          label: '基本药物'
        }
      ],
      tableData: [{
        date: '2016-05-02',
        name: '王小虎',
        address: '111'
      }, {
        date: '2016-05-04',
        name: '王小虎',
        address: '111'
      }]
    }
  },
  methods: {
    getList() {
      console.log(1)
    }
  }
}
</script>

<style>
</style>
